package com.king.modules.system.domain.vo.file;

import com.king.common.annotation.MetaData;
import com.king.common.annotation.ObjectData;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * Description:
 *
 * @author Xander
 * datetime: 2023-03-10 14:21
 */
@Getter
@Setter
@Accessors(chain = true)
@ObjectData("文件上传响应")
public class FileUploadVo {

    @MetaData(value = "文件名", nullable = false)
    private String fileName;

    @MetaData(value = "压缩图片/文件uri", nullable = false)
    private String uri;

    @MetaData(value = "原图uri", nullable = true)
    private String originalImgUri;

    public static FileUploadVo newInstance() {
        FileUploadVo instance = new FileUploadVo();
        return instance;
    }
}
